ShortPixel\Model\EnvironmentModel S

Total Complexity 49
Dependencies 2
Dependents 1
Total lines 270
Lines of code 153
Logical lines of code 96
Comment lines 35
Methods 15
Properties 20

Methods 15

Method Rating Maintainability Complexity Lines of code
setScreen()
A
48 8 36
plugin_active()
S
53 6 24
setServer()
S
66 6 6
setWordPress()
S
61 5 12
is_function_usable()
S
61 4 12
setDefaultViewModeList()
S
61 3 13
determineFrontBack()
S
71 3 6
useDoubleWebpExtension()
S
73 3 5
useDoubleAvifExtension()
S
73 3 5
getInstance()
S
73 2 5
hasImagick()
S
66 2 8
__construct()
S
70 1 6
getSystemLoad()
S
80 1 3
setIntegrations()
S
75 1 4
getRelativePluginSlug()
S
66 1 8